home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 April / Macworld (1999-04).dmg / Serious Software / GrooveMaker demo / GrooveMaker Demo / Media / MenuSong.dxr / 00029.ls < prev    next >
Encoding:
Text File  |  1998-07-27  |  876 b   |  41 lines

  1. on mouseEnter
  2.   if the visible of window "Help" then
  3.     tell window "help"
  4.       go("menuSong10")
  5.     end tell
  6.   end if
  7. end
  8.  
  9. on mouseLeave
  10.   if the visible of window "Help" then
  11.     tell window "help"
  12.       go("start")
  13.     end tell
  14.   end if
  15. end
  16.  
  17. on mouseDown
  18.   global gSong
  19.   if not (the visible of window "Help") then
  20.     if (gSong <> EMPTY) and (field "fieldElencoSongHD" contains gSong) then
  21.       repeat while the mouseDown
  22.         set the memberNum of sprite 7 to the number of member "Hgroove"
  23.         updateStage()
  24.       end repeat
  25.     end if
  26.   end if
  27. end
  28.  
  29. on mouseUp
  30.   global gSong
  31.   if not (the visible of window "Help") then
  32.     if (gSong <> EMPTY) and (field "fieldElencoSongHD" contains gSong) then
  33.       cursor(4)
  34.       prepare()
  35.       go("start", the moviePath & "grooveM")
  36.       put EMPTY into field "fieldDescription"
  37.       cursor(-1)
  38.     end if
  39.   end if
  40. end
  41.